import React from 'react';
import Reflux from 'reflux';
var HouseDecActions = require('../actions/houseDecActions');

var FirstRoomTypeListStore = Reflux.createStore({
  listenables: [HouseDecActions],
  roomTypeList:[],
  onGetFirstRoomTypeList(val){
    this.roomTypeList = [];
    this.roomTypeList = val.roomTypeList;
    this.trigger(this.roomTypeList);
    console.log('roomTypeList',this.roomTypeList);
  },
});

module.exports = FirstRoomTypeListStore;